package com.rahwi.rahwi_server.Utils.Converter;

import com.rahwi.rahwi_server.Entity.User;
import com.rahwi.rahwi_server.vo.data.IUser;

/**
 * @ClassName UserConverter
 * @Description 将实体类转换为前端所需数据对象
 * @Date 2021/12/10 12:30
 * @Autor mjw
 * @Version 1.0
 */
public class UserConverter {
    public static IUser toVoUser(User user, ICopy<? extends IUser,User> iCopy){
        return iCopy.Copy(user);
    }
}
